package com.mls.fivedistrict.dao;

import  com.mls.fivedistrict.pojo.GoodsPayIntegral;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Five Team
 * @since 2018-05-15
 */
public interface GoodsPayIntegralMapper extends BaseMapper<GoodsPayIntegral> {
    //批量插入
    Integer insertList(List<GoodsPayIntegral> goodsPayIntegralList);
    //根据商品ID获取商品支持积分列表
    List<GoodsPayIntegral> selectListByGoodsId(Long goods_id);
    //根据商品id删除
    Integer deleteByGoodsId(Long goodsId);
}
